package com.hq.ims.data.utils;

import com.hq.web.utils.WebUtils;

/**
 * web中获取参数
 * <p>
 * jbp
 */
public class WebExpandUtils {

    public static String getHeadCompanyId() {
        String companyId = WebUtils.getRequestHead("companyId");
        if (companyId == null || "null".equals(companyId)) {
            return null;
        }
        return companyId;
    }

    public static String getHeadProjectId() {
        String projectId = WebUtils.getRequestHead("projectId");
        if (projectId == null || "null".equals(projectId)) {
            return null;
        }
        return projectId;
    }
}
